#ifndef __UIMESSAGE_H__
#define __UIMESSAGE_H__

#include "message.hpp"

enum CommandType
{
    CT_EXIT
};

struct LoginMsg : public BaseMessage<LoginMsg>
{
    std::string     user;
    std::string     passwd;
};

struct RegisterMsg : public BaseMessage<RegisterMsg>
{
    std::string     user;
    std::string     passwd;
};

struct CmdMsg : public BaseMessage<CmdMsg>
{
    int             cmd;
};

#endif // __UIMESSAGE_H__